//
//  TutorialViewController.h
//  TutorialsModule
//
//  Created by Augusto Guido on 29/09/09.
//  Copyright 2009 Moove-IT. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "FBConnect/FBConnect.h"

#define API_KEY "0fd667daea3c2db4722f9972e2715714" 
#define API_SECRET "ecfa6208959b424fc1bd5b31c39cced5"


@interface TutorialViewController : UIViewController <UIAlertViewDelegate, UIActionSheetDelegate,FBSessionDelegate > {

	FBSession *session;
	
}

@property (nonatomic, retain) FBSession *session;

/* FACEBOOK CONNECT*/

-(void)session:(FBSession *)session didLogin:(FBUID)uid;

/**
 * Called when a session is about to log out.
 */
- (void)session:(FBSession*)session willLogout:(FBUID)uid;

/**
 * Called when a session has logged out.
 */
- (void)sessionDidLogout:(FBSession*)session;

/* FIN FBC */


-(id) initWithNibName: (NSString*) nibNameOrNil bundle:(NSBundle *)nibBundleOrNil objects: (NSArray *)objects;
- (void) editTutorial;

- (IBAction)previewTutorial;
- (IBAction)viewSteps;
- (IBAction)publishTutorial;

@end